package com.js.rtu.mvp.bean.base;

import java.util.List;

/**
 * Created by wz on 2020/6/28.
 */
public class Cmd92_H29_Bean {
    /**
     * 多级报警配置数量
     */
    private String count;
    /**
     * 通道号
     */
    private String id;
    /**
     * 报警监视位置
     */
    private String location;
    /**
     * 报警通道使能
     */
    private String enable;
    /**
     * 报警下限值；
     */
    private String alarmXX;
    /**
     * 报警上限值；
     */
    private String alarmSX;

    /**
     *报警区间数量n
     */
    private String alarmCount;

    /**
     * 报警监视位置
     */
    private String type;

    private List<AlarmDetail> list;

    public String getType() {
        return type;
    }

    public void setType(String pType) {
        type = pType;
    }

    public  static   class AlarmDetail{
        /**
         *等级
         */
        private String level;
        /**
         *下限值
         */
        private String min;
        /**
         *上限值
         */
        private String max;

        public String getLevel() {
            return level;
        }

        public void setLevel(String pLevel) {
            level = pLevel;
        }

        public String getMin() {
            return min;
        }

        public void setMin(String pMin) {
            min = pMin;
        }

        public String getMax() {
            return max;
        }

        public void setMax(String pMax) {
            max = pMax;
        }
    }

    public String getCount() {
        return count;
    }

    public void setCount(String pCount) {
        count = pCount;
    }

    public String getId() {
        return id;
    }

    public void setId(String pId) {
        id = pId;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String pLocation) {
        location = pLocation;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String pEnable) {
        enable = pEnable;
    }

    public String getAlarmXX() {
        return alarmXX;
    }

    public void setAlarmXX(String pAlarmXX) {
        alarmXX = pAlarmXX;
    }

    public String getAlarmSX() {
        return alarmSX;
    }

    public void setAlarmSX(String pAlarmSX) {
        alarmSX = pAlarmSX;
    }

    public String getAlarmCount() {
        return alarmCount;
    }

    public void setAlarmCount(String pAlarmCount) {
        alarmCount = pAlarmCount;
    }

    public List<AlarmDetail> getList() {
        return list;
    }

    public void setList(List<AlarmDetail> pList) {
        list = pList;
    }
}
